package com.qfedu.service;

import com.qfedu.entity.Question;
import com.qfedu.vo.QuestionCharts;

import java.util.List;

/**
 * projectName: backStage
 * author: CGY
 * time: 2020/10/7 14:28
 * description:
 */
public interface QuestionService {
    void addQuestion(Question question);

    List<Question> findAll(Integer page, Integer limit);

    int findCount();

    void deleteById(Integer id);

    void updateById (Question question);

    void addNote(Question question);

    void addCode(Question question);

    QuestionCharts findCharts();

    List<Question> findExcel();

}
